﻿using System;
using System.Collections.Generic;
using System.Text;

namespace StudentManagement.Model.Entitys
{
    /// <summary>
    /// 实体的基类-泛型
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class EntityBase<T>
    {
        /// <summary>
        /// 唯一标识
        /// </summary>
        public T Id { get; set; }
    }

    /// <summary>
    /// 实体的基类-int类型的主键
    /// </summary>
    public class EntityBase : EntityBase<int>
    {

    }

}
